*{margin: 0;padding: 0;}
.g-container{
    position: relative;
    margin: 0 auto;
}
.g-container:after{
    content: '';
    display: block;
    clear: both;
}
.item{
    float: left;
    padding: 15px 0 0 15px;
}
.pic{
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 0 5px #ccc;
}
.pic img{
    width: 230px;
    height: auto;
}